<p class="browse">你的位置：查看全部文章（共有文章<?php $count_posts = wp_count_posts();echo $published_posts = $count_posts->publish;?>篇）</p>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class="post">
<div class="postbox">
  <?php $u_time = get_the_time('U'); ?>
  <div class="postdate_top"><?php echo date("y-m",$u_time); ?></div>
   <div class="postdate_bottom">
	 <span class="DateD"><?php echo date("d",$u_time); ?></span>
	 <span class="DateW"><?php echo date("D",$u_time); ?></span>
  </div>	
  <div class="header">
	<span class="title">
	<a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"> <?php the_title(); ?> </a>
	</span>
	<span class="comment" >评论：<?php comments_popup_link('<span class="smaller">抢沙发</span>', '1', '%'); ?></span>			
  </div>
  <div class="meta">
	<span class="category">
	分类：<?php the_category(',') ?> 
	</span>
	<span class="tags">
	标签：<?php the_tags(' ', ', ', ' '); ?>
	</span>
	<span>
	<?php edit_post_link('编辑', '[ ', ' ]'); ?>
	</span>
	<span class="views">
	阅读：<?php post_views(' ', ' 次'); ?>
	</span>		
  </div>
	<div class="info">
	<?php the_content_limit('515'); ?>
  </div>
</div>
<!--end: postbox-->
</div>
<!--end: post-->
<?php endwhile; ?>
<div class="clear"></div>
<div class="page_navi"><?php dh_pagenavi(9); ?></div>
<?php else : ?>
<p>No posts found.</p>
<?php endif; ?>